package com.sixmac.user;

public class ExportUtil {
    public static String webpath = (ExportUtil.class.getResource("/").getPath().substring(0, ExportUtil.class.getResource("/").getPath().indexOf("WEB-INF")));
    // webapp路径
    // 临时文件名
    private static String tempName = "excelTempFile.xls";
    // 临时文件路径,不需要修改
    public static String tempFilePath = webpath + tempName;
    public static String LANDLORD_LIST_TEMPLATE = webpath + "excelTemplate" + "/" + "exportLandlord.xls";
    public static String LANDLORD_LIST_FIELD = "mobile,name,updateDate,sexName,birthdayName,quyu,idCard";
    public static String ROOM_LIST_TEMPLATE = webpath + "excelTemplate" + "/" + "exportRoom.xls";
    public static String ROOM_LIST_FIELD = "roomNo,address,landlordName,mobile,createDateName,statusName,lockNo";
    public static String TENANT_LIST_TEMPLATE = webpath + "excelTemplate" + "/" + "exportTenant.xls";
    public static String TENANT_LIST_FIELD = "mobile,name,createDateName,sexName,birthdayName,idCard,statusName";
    public static String LIVE_LIST_TEMPLATE = webpath + "excelTemplate" + "/" + "exportLive.xls";
    public static String LIVE_LIST_FIELD = "mobile,name,createDateName,sexName,birthdayName,idCard,statusName,livestatusName";
}
